<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp" %>
<!DOCTYPE html>
<html>
<head>
    <title> ${officeInfo.office.name}</title>
    <meta name="decorator" content="cms_default_${site.theme}"/>
    <meta name="keywords" content="${category.keywords}"/>
</head>
<body>
<div class="container">
    <ul class="breadcrumb">
        <cms:frontNavOffice office="${navOffice}"/>
    </ul>
</div>
<div class="section">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <div class="blog-post blog-single-post">
                    <h3 style="color:#555555;font-size:20px;text-align:center;border-bottom:1px solid #ddd;padding-bottom:15px;margin:25px 0;">${officeInfo.office.name}</h3>
                    <div>${officeInfo.introduce}</div>
                </div>
            </div>
        </div>
          <div class="row">
            <div class="col-sm-6">
                <div class="blog-post blog-single-post">
                    <h3 style="color:#555555;font-size:20px;">工作动态：</h3>
                   
                </div>
            </div>
             <div class="col-sm-6"></div>
            
        </div>
        <div class="row">
        <c:forEach items="${article}" var="item">
         <div class="col-sm-6">
                   <a href="${ctx }/office/detail/${item.id}" >${item.title }</a>
            </div>
        </c:forEach>
          <div class="col-sm-6">
             <c:if test="${fn:length(article)>0}"> <a href="${ctx }/office/detail" >更多...</a></c:if>     
             <c:if test="${fn:length(article)==0}"><p> 暂无工作动态...</p></c:if>     
            </div>
        </div>
       <c:if test="${fn:length(office1) >0}">
         <div class="row">
            <div class="col-sm-4">
                <div class="blog-post blog-single-post">
                    <h3 style="color:#555555;font-size:20px;">体育总局：</h3>
                   
                </div>
            </div>
             <div class="col-sm-6"></div>
            
        </div>
        </c:if> 
             <div class="row">
        <c:forEach items="${office1}" var="item">
         <div class="col-sm-4">
                   <a href="${ctx }/xiehui/${item.id}" >${item.name }</a>
            </div>
        </c:forEach>
         
        </div>
        
          <c:if test="${fn:length(office2)>0 }">
         <div class="row">
            <div class="col-sm-4">
                <div class="blog-post blog-single-post">
                    <h3 style="color:#555555;font-size:20px;">体育协会：</h3>
                   
                </div>
            </div>
             <div class="col-sm-6"></div>
            
        </div>
        </c:if> 
             <div class="row">
        <c:forEach items="${office2}" var="item">
         <div class="col-sm-3">
                   <a href="${ctx }/xiehui/${item.id}" >${item.name }</a>
            </div>
        </c:forEach>
         
        </div>
    </div>
</div>
</body>
</html>